#ifndef QHEXANALYSIS_H
#define QHEXANALYSIS_H

#include <QWidget>
#include "protocol.h"

namespace Ui {
class QHexAnalysis;
}

class QHexAnalysis : public QWidget
{
    Q_OBJECT

public:
    explicit QHexAnalysis(QWidget *parent = 0, Protocol *protocol = 0);
    ~QHexAnalysis();

    Protocol *protocol() const;
    void setProtocol(Protocol *protocol);

private:
    void initDefaultProtocol();

private:
    Ui::QHexAnalysis *ui;
    Protocol *m_protocol;
    Protocol *m_defaultProtocol;
};

#endif // QHEXANALYSIS_H
